package com.jy.adscm.operation.mscyb.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.mscyb.bean.JqbzMaterialList;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.mscyb.bean.JqylMaterial;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-05-25
 */
public interface JqbzMaterialListService extends IService<JqbzMaterialList> {

    boolean insertJqbzMaterialList(JqbzMaterialList jqbzMaterialList, Token token) throws AdscmSystemException;

    Boolean updateJqbzMaterialList(JqbzMaterialList jqbzMaterialList)throws AdscmSystemException;

    List<JqbzMaterialList> selectByTid(String tid);

    List<JqylMaterial> queryMaterial(String id )throws AdscmSystemException;

    boolean deleteJqbzMaterialList(Integer id)throws AdscmSystemException;
}
